package exception

import "fmt"

type BusinessError struct {
	Code          string
	OriginalError error
	Message       string
}

func (e *BusinessError) Error() string {
	return fmt.Sprintf("code:%s, message:%s", e.Code, e.Message)
}
